module.exports = function($scope, $state, $stateParams, $modalInstance,$resource,$modal,toaster, apply_id){
  // $scope.obj = item;
   $scope.info = {
        'apply_id' :apply_id,
        'city_no_remark' : ''
      }
      $scope.ok = function (ss){
      console.log($scope.info);
        $resource('/api/as/ggc/touristFundsCapitalApplyAd/updateCityCapitalApplyOff', {}, {})
        .save($scope.info, function (res) {
            if (res.errcode !== 0) {
                toaster.error({ title: "提示", body: res.errmsg });
                return;
            }
            toaster.success({ title: "提示", body: "回复成功!" });
            $modalInstance.close();
        });
    }
        $scope.cancel = function () {
         $modalInstance.close();
       }
}
  